$OpenBSD: patch-langtools_make_build_xml,v 1.4 2011/09/22 20:26:49 kurt Exp $
--- langtools/make/build.xml.orig	Tue Sep  6 18:23:40 2011
+++ langtools/make/build.xml	Wed Sep  7 09:44:08 2011
@@ -235,7 +235,8 @@
         </chmod>
         <mkdir dir="${dist.lib.dir}"/>
         <jar file="${dist.lib.dir}/classes.jar" basedir="${build.classes.dir}"/>
-        <zip file="${dist.lib.dir}/src.zip" basedir="${src.classes.dir}"/>
+        <zip file="${dist.lib.dir}/src.zip" basedir="${src.classes.dir}"
+             excludes="**/*.orig"/>
     </target>
 
     <target name="build-bootstrap-tools"
@@ -804,6 +805,7 @@
                 <copy todir="@{classes.dir}" includeemptydirs="false">
                     <fileset dir="${src.classes.dir}" includes="@{includes}" excludes="@{excludes}">
                         <exclude name="**/*.java"/>
+                        <exclude name="**/*.orig"/>
                         <exclude name="**/*.properties"/>
                         <exclude name="**/*-template"/>
                         <exclude name="**/*.rej"/>
